package structures;
import pack.MyReader;

public class VehicleRegistrationNumber extends TypeAbstract{
	
	public static int size = 14;
	public final int codePage;
	public final String vehicleRegNumber; //Octet String (13)
	
	public VehicleRegistrationNumber(MyReader reader)
	{
		codePage = reader.readInt();
		vehicleRegNumber = reader.readOctet(13, codePage).trim();
	}
	
	public String toString()
	{
		return vehicleRegNumber;
	}

}
